/* 文件项样式 */
.file-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.file-item:hover {
    background-color: #f8f9fa;
}

.file-icon {
    width: 30px;
    text-align: center;
}

/* 上传区域样式 */
.upload-area {
    border: 2px dashed #007bff;
    border-radius: 5px;
    padding: 25px;
    text-align: center;
    margin-bottom: 20px;
    cursor: pointer;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.upload-area:hover {
    background-color: #e9ecef;
    border-color: #0069d9;
}

.upload-area.dragover {
    background-color: #d1ecf1;
    border-color: #0dcaf0;
    transform: scale(1.01);
}

/* 隐藏原始文件输入框 */
.file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 调试信息区域 */
#uploadDebugInfo {
    max-height: 200px; 
    overflow: auto;
    font-family: monospace;
    font-size: 0.85rem;
    line-height: 1.4;
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
}

/* 预览区域 */
.preview-container {
    margin-bottom: 20px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    max-height: 350px;
    overflow: auto;
}

/* 预览图片适应容器 */
.preview-image {
    max-width: 100%;
    max-height: 300px;
}

/* 确认对话框样式 */
.modal-confirm {
    padding: 20px;
}

/* 加载指示器 */
.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
} 